package hxy.bytecode.element;

public class StringToByte {
    public static void main(String[] args) {
        String string = "String";
        byte[] bytes = string.getBytes();
        for (int i = 0; i < bytes.length; i++) {
            System.out.println(bytes[i]);
        }
        System.out.println(bytes);
    }
}
